<extend name="../layout" />

<block name="main_content">
    <div class="row-fluid">
        <div class="span6">
            <div class="widget-box">
                <div class="widget-title"> <span class="icon"> <i class="icon-info-sign"></i> </span>
                    <h5>{:L('add_customer')}</h5>
                    <a href="javascript:history.go(-1);" class="label label-info">{:L('go_back')}</a>
                </div>
                <div class="widget-content nopadding">
                    <form action="__URL__/insert" method="POST" class="form-horizontal">
                        <div class="control-group">
                            <label class="control-label">{:L("linkman")} :</label>
                            <div class="controls">
                                <input type="text" class="span6" name="contact"  value="{$vo.contact}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L("phone1")} :</label>
                            <div class="controls">
                                <input type="text" class="span6" name="phone1"  value="{$vo.phone1}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L("phone2")} :</label>
                            <div class="controls">
                                <input type="text" class="span6" name="phone2"  value="{$vo.phone2}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L("email")} :</label>
                            <div class="controls">
                                <input type="text" class="span6" name="email"  value="{$vo.email}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L("qq")} :</label>
                            <div class="controls">
                                <input type="text" class="span6" name="qq"  value="{$vo.qq}" />
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label">{:L("extra")} :</label>
                            <div class="controls">
                                <input type="text" class="span6" name="extra"  value="{$vo.extra}" />
                            </div>
                        </div>
                        <div class="form-actions">
                            <input type='hidden' name="customer_id" value="{$Think.get.customer_id}" />
                            <button type="submit" class="btn btn-success">Save</button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</block>